﻿using System;
using System.Collections.Generic;
using System.Text;
using ZQNB.Common.NHExtensions;

namespace ZQNB.Data.Dics
{
    public class DicTypeEntity : NbEntity<DicTypeEntity>
    {
        public DicTypeEntity()
        {
            InUse = true;
            CanEdit = false;
        }

        public virtual string Code { get; set; } //作为唯一键使用，不可更改：Grade,Subject等
        public virtual string Name { get; set; } //显示名：学科，年级
        public virtual bool InUse { get; set; } //是否启用
        public virtual double SortNum { get; set; }
        public virtual bool CanEdit { get; set; } //某些字典类型不需要提供修改功能
    }
}
